package com.shz.appletsapi.config.security.social.support;

import org.springframework.social.connect.Connection;
import org.springframework.social.connect.ConnectionSignUp;


//@Component
public class ZyConnectionSignUp implements ConnectionSignUp {

	@Override
	public String execute(Connection<?> connection) {
		//根据社交信息 创建默认用户		
		return connection.getDisplayName();
	}

}
